package com.beisita.pojo;

import java.io.Serializable;


public class CronTrigger implements Serializable {
    /**
     * 定时任务
     */
    private static final long serialVersionUID = 1L;

    private Long id;//任务id
    private String cron;//cron表达式
    private String createTime;//创建时间
    private String updateTime;//更新时间
    private boolean isDeleted = false;//删除状态

    public CronTrigger() {
    }

    public CronTrigger(Long id, String cron, String createTime, String updateTime, boolean isDeleted) {
        this.id = id;
        this.cron = cron;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    public CronTrigger(String cron) {
        this.cron = cron;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean isDeleted) {
        this.isDeleted = isDeleted;
    }
}